﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V = Science.Mathematics.VectorCalculus;

namespace VectorCalculus5Ed.Chapter2.Section1
{
    public class Example01
    {
        public Example01()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
        public void Compute()
        {
            V.Function.ToLastType<double, double, double> f
                = new V.Function.ToLastType<double, double, double>(ff);

            result += (f(2.3, 2.4)).ToString() + "\r\n";
        }
        private double ff(double x, double y)
        {
            return 2.0;
        }
    }
}

// 2